package data

type VisualMaterialD struct {
	Data *Data
}

func NewVisualMaterialData(data *Data) *VisualMaterialD {
	return &VisualMaterialD{Data: data}
}

type HumanPosition struct {
	PositionX int
	PositionY int
	Width     int
	Height    int
	Layer     int
	Volume    int
}

// VmPositionMap 设置一下默认值
func (v *VisualMaterialD) VmPositionMap() map[string]HumanPosition {
	humanPositionMap := map[string]HumanPosition{
		"C3023": {
			PositionX: 333,
			PositionY: 593,
			Width:     383,
			Height:    683,
			Layer:     1,
			Volume:    103,
		},
		"C3025": {
			PositionX: 336,
			PositionY: 597,
			Width:     384,
			Height:    683,
			Layer:     1,
			Volume:    100,
		},
		"C3016": {
			PositionX: 336,
			PositionY: 596,
			Width:     386,
			Height:    686,
			Layer:     6,
			Volume:    106,
		},
		"C3019": {
			PositionX: 339,
			PositionY: 599,
			Width:     389,
			Height:    689,
			Layer:     9,
			Volume:    109,
		},
	}

	return humanPositionMap
}
